package com.admin.kotlintest.adapter

import android.content.Context
import com.admin.kotlintest.R
import com.admin.kotlintest.base.AdapterHolder
import com.admin.kotlintest.base.CurrencyAdapter
import com.socks.library.KLog
import kotlinx.android.synthetic.main.layout_list_item.view.*

/**
 * Created by 吴昶 on 2018/3/30.
 */
class ListTAdapter(context: Context, layoutId: Int, data: MutableList<String>?) : CurrencyAdapter<String>(context, layoutId, data) {

    override fun convert(holder: AdapterHolder, item: String, position: Int) {
        KLog.d(item)
        holder.setTextViewText(R.id.tv_list_item_1,item)//To change body of created functions use File | Settings | File Templates.
    }

}